<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GraphPaths: Riferimenti per la classe Nodo</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GraphPaths
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Creazione di grafi e calcolo dei percorsi minimi</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classi</span></a></li>
      <li><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Elenco&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="classes.html"><span>Indice&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="hierarchy.html"><span>Gerarchia&#160;delle&#160;classi</span></a></li>
      <li><a href="functions.html"><span>Membri&#160;dei&#160;composti</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membri pubblici</a> &#124;
<a href="classNodo-members.html">Elenco di tutti i membri</a>  </div>
  <div class="headertitle">
<div class="title">Riferimenti per la classe Nodo</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="nodo_8h_source.html">nodo.h</a>&gt;</code></p>
<div class="dynheader">
Diagramma delle classi per Nodo</div>
<div class="dyncontent">
 <div class="center">
  <img src="classNodo.png" usemap="#Nodo_map" alt=""/>
  <map id="Nodo_map" name="Nodo_map">
<area href="classElemento__ui.html" alt="Elemento_ui" shape="rect" coords="0,0,80,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Membri pubblici</h2></td></tr>
<tr class="memitem:ac30bd1bed827ef8784fd3cebd032e9a4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#ac30bd1bed827ef8784fd3cebd032e9a4">Nodo</a> ()</td></tr>
<tr class="separator:ac30bd1bed827ef8784fd3cebd032e9a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d59f2dfc6505015d7ed9868df471f42"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a7d59f2dfc6505015d7ed9868df471f42">Nodo</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>, guint indice)</td></tr>
<tr class="separator:a7d59f2dfc6505015d7ed9868df471f42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a1dd01c95ff7bcb1182318498e834f9"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a8a1dd01c95ff7bcb1182318498e834f9">~Nodo</a> ()</td></tr>
<tr class="separator:a8a1dd01c95ff7bcb1182318498e834f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fb9bd150f3690223a67f0e96a96e02d"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a3fb9bd150f3690223a67f0e96a96e02d">get_indice</a> ()</td></tr>
<tr class="separator:a3fb9bd150f3690223a67f0e96a96e02d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01cbee8d0bf00fd0e4d4500f06dc5962"><td class="memItemLeft" align="right" valign="top">gint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a01cbee8d0bf00fd0e4d4500f06dc5962">get_distanza</a> ()</td></tr>
<tr class="separator:a01cbee8d0bf00fd0e4d4500f06dc5962"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f2c30b7c32e5d2acf1a67cf1a5da73"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#ad1f2c30b7c32e5d2acf1a67cf1a5da73">set_distanza</a> (int val)</td></tr>
<tr class="separator:ad1f2c30b7c32e5d2acf1a67cf1a5da73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e3087d0c3511bf0a42a14bbce860482"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a5e3087d0c3511bf0a42a14bbce860482">set_distanza_infinita</a> ()</td></tr>
<tr class="separator:a5e3087d0c3511bf0a42a14bbce860482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d3877c9987963444f8a36fc6f410be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNodo.html">Nodo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a47d3877c9987963444f8a36fc6f410be">get_precedente</a> ()</td></tr>
<tr class="separator:a47d3877c9987963444f8a36fc6f410be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7e078dbad3fec48a7b39a954bf7c44a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#aa7e078dbad3fec48a7b39a954bf7c44a">set_precedente</a> (<a class="el" href="classNodo.html">Nodo</a> *val)</td></tr>
<tr class="separator:aa7e078dbad3fec48a7b39a954bf7c44a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7a9da39a1b399c81dd8fd2b00aee6a5"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#aa7a9da39a1b399c81dd8fd2b00aee6a5">get_raggio</a> ()</td></tr>
<tr class="separator:aa7a9da39a1b399c81dd8fd2b00aee6a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86df424b2594b869fa5e6a2dc7e4078b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a86df424b2594b869fa5e6a2dc7e4078b">update</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:a86df424b2594b869fa5e6a2dc7e4078b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ce7fd9764c8ec22628417d6372429b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#a64ce7fd9764c8ec22628417d6372429b">draw</a> (cairo_t *&amp;cr)</td></tr>
<tr class="separator:a64ce7fd9764c8ec22628417d6372429b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa037e9e4851e5e721bf7b2e77e08560"><td class="memItemLeft" align="right" valign="top">virtual gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classNodo.html#afa037e9e4851e5e721bf7b2e77e08560">intersect</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:afa037e9e4851e5e721bf7b2e77e08560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classElemento__ui"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classElemento__ui')"><img src="closed.png" alt="-"/>&#160;Membri pubblici ereditati da <a class="el" href="classElemento__ui.html">Elemento_ui</a></td></tr>
<tr class="memitem:aaec9a3dfd4af974ceed44115f966e63a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#aaec9a3dfd4af974ceed44115f966e63a">Elemento_ui</a> ()</td></tr>
<tr class="separator:aaec9a3dfd4af974ceed44115f966e63a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23841e472885f03089e288140d329288 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a23841e472885f03089e288140d329288">~Elemento_ui</a> ()</td></tr>
<tr class="separator:a23841e472885f03089e288140d329288 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47faa830e415ba29e719a9ab83593928 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a47faa830e415ba29e719a9ab83593928">get_x</a> ()</td></tr>
<tr class="separator:a47faa830e415ba29e719a9ab83593928 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721c1ebab284aab5b19ccefcc50cba5a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a721c1ebab284aab5b19ccefcc50cba5a">set_x</a> (gdouble val)</td></tr>
<tr class="separator:a721c1ebab284aab5b19ccefcc50cba5a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ed990dca773d10b4c1770b9ed4cc73 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#af1ed990dca773d10b4c1770b9ed4cc73">get_y</a> ()</td></tr>
<tr class="separator:af1ed990dca773d10b4c1770b9ed4cc73 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a6257bea44d7719c3b36e71f9078650 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a1a6257bea44d7719c3b36e71f9078650">set_y</a> (gdouble val)</td></tr>
<tr class="separator:a1a6257bea44d7719c3b36e71f9078650 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadb31650bf503a9e11cad83d9c09fad5 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#aadb31650bf503a9e11cad83d9c09fad5">is_selected</a> ()</td></tr>
<tr class="separator:aadb31650bf503a9e11cad83d9c09fad5 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0000045a9fecb99f47f0682332d4ad6a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a0000045a9fecb99f47f0682332d4ad6a">set_selected</a> (gboolean val)</td></tr>
<tr class="separator:a0000045a9fecb99f47f0682332d4ad6a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37efc2ee23d6d16e051f3f96c2c5320e inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a37efc2ee23d6d16e051f3f96c2c5320e">is_over</a> ()</td></tr>
<tr class="separator:a37efc2ee23d6d16e051f3f96c2c5320e inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e4690bef88aeb0049c67d430a27ac95 inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a6e4690bef88aeb0049c67d430a27ac95">set_over</a> (gboolean val)</td></tr>
<tr class="separator:a6e4690bef88aeb0049c67d430a27ac95 inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8a6ec54c1bf7c51c7c8ac62c38f054a inherit pub_methods_classElemento__ui"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#ae8a6ec54c1bf7c51c7c8ac62c38f054a">set_over</a> (gdouble <a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>)</td></tr>
<tr class="separator:ae8a6ec54c1bf7c51c7c8ac62c38f054a inherit pub_methods_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Altri membri ereditati</h2></td></tr>
<tr class="inherit_header pro_attribs_classElemento__ui"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classElemento__ui')"><img src="closed.png" alt="-"/>&#160;Attributi protetti ereditati da <a class="el" href="classElemento__ui.html">Elemento_ui</a></td></tr>
<tr class="memitem:a65ba6be564ea56bcf8ab14322794db54 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a></td></tr>
<tr class="memdesc:a65ba6be564ea56bcf8ab14322794db54 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata X dell'oggetto.  <a href="#a65ba6be564ea56bcf8ab14322794db54">Continua...</a><br/></td></tr>
<tr class="separator:a65ba6be564ea56bcf8ab14322794db54 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36749900d4a5b1e4d8db239691a531f8 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a></td></tr>
<tr class="memdesc:a36749900d4a5b1e4d8db239691a531f8 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata Y dell'oggetto.  <a href="#a36749900d4a5b1e4d8db239691a531f8">Continua...</a><br/></td></tr>
<tr class="separator:a36749900d4a5b1e4d8db239691a531f8 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a509f8e3b1b642946ca3180d75e490556 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">selected</a></td></tr>
<tr class="memdesc:a509f8e3b1b642946ca3180d75e490556 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se l'oggetto è stato selezionato.  <a href="#a509f8e3b1b642946ca3180d75e490556">Continua...</a><br/></td></tr>
<tr class="separator:a509f8e3b1b642946ca3180d75e490556 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a046b1967d7193a4632e7347886c33471 inherit pro_attribs_classElemento__ui"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">over</a></td></tr>
<tr class="memdesc:a046b1967d7193a4632e7347886c33471 inherit pro_attribs_classElemento__ui"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se il mouse si trova sopra all'oggetto.  <a href="#a046b1967d7193a4632e7347886c33471">Continua...</a><br/></td></tr>
<tr class="separator:a046b1967d7193a4632e7347886c33471 inherit pro_attribs_classElemento__ui"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Documentazione dei costruttori e dei distruttori</h2>
<a class="anchor" id="ac30bd1bed827ef8784fd3cebd032e9a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Nodo::Nodo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Costruttore di default </p>

</div>
</div>
<a class="anchor" id="a7d59f2dfc6505015d7ed9868df471f42"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Nodo::Nodo </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>indice</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Costruttore che inizializza le coordinate e l'indice. Le coordinate rappresentano il punto nel quale verrà disegnato il nodo, mentre l'indice identifica univocamente il nodo, viene assegnato alla creazione del nodo e non può essere modificato successivamente. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>coordinata X </td></tr>
    <tr><td class="paramname">y</td><td>coordinata Y </td></tr>
    <tr><td class="paramname">indice</td><td>indice univoco del nodo </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8a1dd01c95ff7bcb1182318498e834f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Nodo::~Nodo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Distruttore di default </p>

</div>
</div>
<h2 class="groupheader">Documentazione delle funzioni membro</h2>
<a class="anchor" id="a64ce7fd9764c8ec22628417d6372429b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Nodo::draw </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&amp;&#160;</td>
          <td class="paramname"><em>cr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Disegna l'oggetto. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">cr</td><td>puntatore all'oggetto Cairo </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplementa <a class="el" href="classElemento__ui.html#a2368ed35b0f4727b2091bd9b4457a845">Elemento_ui</a>.</p>

</div>
</div>
<a class="anchor" id="a01cbee8d0bf00fd0e4d4500f06dc5962"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gint Nodo::get_distanza </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce la distanza del nodo. La distanza restituita è corretta solo dopo l'esecuzione di una delle classi che specializzano <a class="el" href="classAlgoritmo.html">Algoritmo</a> </p>
<dl class="section return"><dt>Restituisce</dt><dd>La distanza del nodo calcolata mediante uno degli algoritmi a disposizione. </dd></dl>

</div>
</div>
<a class="anchor" id="a3fb9bd150f3690223a67f0e96a96e02d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">guint Nodo::get_indice </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce l'indice del nodo. </p>
<dl class="section return"><dt>Restituisce</dt><dd>L'indice del nodo </dd></dl>

</div>
</div>
<a class="anchor" id="a47d3877c9987963444f8a36fc6f410be"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNodo.html">Nodo</a>* Nodo::get_precedente </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce il nodo precedente nel cammino minimo. Il nodo precedente è diverso da NULL solo dopo l'esecuzione di una delle classi che specializzano <a class="el" href="classAlgoritmo.html">Algoritmo</a> </p>
<dl class="section return"><dt>Restituisce</dt><dd>Il <a class="el" href="classNodo.html">Nodo</a> precedente nel cammino minimo calcolato </dd></dl>

</div>
</div>
<a class="anchor" id="aa7a9da39a1b399c81dd8fd2b00aee6a5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gdouble Nodo::get_raggio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Restituisce il raggio del nodo. Utilizzato per la rappresentazione visuale del nodo </p>
<dl class="section return"><dt>Restituisce</dt><dd>Il raggio della circonferenza del nodo </dd></dl>

</div>
</div>
<a class="anchor" id="afa037e9e4851e5e721bf7b2e77e08560"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gboolean Nodo::intersect </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Controlla eventuali collisioni. Controlla se le coordinate del punto passato rientrano all'interno dell'area occupata dall'elemento corrente. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>La coordinata X del punto da controllare </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>La coordinata Y del punto da controllare </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>True se il punto fa parte dell'elemento corrente, False altrimenti. </dd></dl>

<p>Reimplementa <a class="el" href="classElemento__ui.html#abf413d6539ec824c441cfe140a2335b5">Elemento_ui</a>.</p>

</div>
</div>
<a class="anchor" id="ad1f2c30b7c32e5d2acf1a67cf1a5da73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Nodo::set_distanza </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Imposta la distanza del nodo </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>La nuova distanza da assegnare al nodo </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5e3087d0c3511bf0a42a14bbce860482"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Nodo::set_distanza_infinita </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Imposta il nodo a distanza infinita. </p>

</div>
</div>
<a class="anchor" id="aa7e078dbad3fec48a7b39a954bf7c44a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Nodo::set_precedente </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classNodo.html">Nodo</a> *&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Imposta il nodo precedente Viene utilizzata dalle classi che specializzano <a class="el" href="classAlgoritmo.html">Algoritmo</a> per impostare il cammino minimo </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td><a class="el" href="classNodo.html">Nodo</a> precedente </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a86df424b2594b869fa5e6a2dc7e4078b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Nodo::update </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aggiorna lo stato dell'oggetto. Questa funzione viene chiamata ad ogni evento del mouse, in modo che ogni oggetto possa aggiornarsi. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>La coordinata X corrente del mouse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>La coordinata Y corrente del mouse </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplementa <a class="el" href="classElemento__ui.html#ab69c7898cd232b414595b3c8d7a4dfc9">Elemento_ui</a>.</p>

</div>
</div>
<hr/>La documentazione per questa classe è stata generata a partire dai seguenti file:<ul>
<li>src/<a class="el" href="nodo_8h_source.html">nodo.h</a></li>
<li>src/<a class="el" href="nodo_8cc.html">nodo.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 1 Lug 2014 08:40:17 per GraphPaths da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
